package com.neo.base.C2

object C201 {

  def signum(n: Int) = {
    if (n > 0) 1
    else if (n < 0) -1
    else 0;
  }




  def main(args: Array[String]): Unit = {
    println(signum(5));
    println(signum(-5));
    println(signum(0));


  }


}
